package com.jy.api.misc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author Alen
 * @date 2024/8/7 16:17
 * @since 2024/8/7 16:17
 */
@ApiModel("值域映射-编码系统-值vo")
public class ZhiYuYSDMDto {
    @ApiModelProperty("源编码系统标识符")
    private String yuanBMXTBSF;
    @ApiModelProperty("目标编码系统标识符")
    private String muBiaoBMXTBSF;
    @ApiModelProperty("源值")
    private String yuanZhi;
    @ApiModelProperty("源值名称")
    private String yuanZhiMC;
    @ApiModelProperty("目标值")
    private String muBiaoZhi;
    @ApiModelProperty("目标值名称")
    private String muBiaoZhiMC;

    public ZhiYuYSDMDto() {
    }

    public String getYuanBMXTBSF() {
        return this.yuanBMXTBSF;
    }

    public String getMuBiaoBMXTBSF() {
        return this.muBiaoBMXTBSF;
    }

    public String getYuanZhi() {
        return this.yuanZhi;
    }

    public String getYuanZhiMC() {
        return this.yuanZhiMC;
    }

    public String getMuBiaoZhi() {
        return this.muBiaoZhi;
    }

    public String getMuBiaoZhiMC() {
        return this.muBiaoZhiMC;
    }

    public void setYuanBMXTBSF(String yuanBMXTBSF) {
        this.yuanBMXTBSF = yuanBMXTBSF;
    }

    public void setMuBiaoBMXTBSF(String muBiaoBMXTBSF) {
        this.muBiaoBMXTBSF = muBiaoBMXTBSF;
    }

    public void setYuanZhi(String yuanZhi) {
        this.yuanZhi = yuanZhi;
    }

    public void setYuanZhiMC(String yuanZhiMC) {
        this.yuanZhiMC = yuanZhiMC;
    }

    public void setMuBiaoZhi(String muBiaoZhi) {
        this.muBiaoZhi = muBiaoZhi;
    }

    public void setMuBiaoZhiMC(String muBiaoZhiMC) {
        this.muBiaoZhiMC = muBiaoZhiMC;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ZhiYuYSDMDto)) {
            return false;
        } else {
            ZhiYuYSDMDto other = (ZhiYuYSDMDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$yuanBMXTBSF = this.getYuanBMXTBSF();
                Object other$yuanBMXTBSF = other.getYuanBMXTBSF();
                if (this$yuanBMXTBSF == null) {
                    if (other$yuanBMXTBSF != null) {
                        return false;
                    }
                } else if (!this$yuanBMXTBSF.equals(other$yuanBMXTBSF)) {
                    return false;
                }

                Object this$muBiaoBMXTBSF = this.getMuBiaoBMXTBSF();
                Object other$muBiaoBMXTBSF = other.getMuBiaoBMXTBSF();
                if (this$muBiaoBMXTBSF == null) {
                    if (other$muBiaoBMXTBSF != null) {
                        return false;
                    }
                } else if (!this$muBiaoBMXTBSF.equals(other$muBiaoBMXTBSF)) {
                    return false;
                }

                Object this$yuanZhi = this.getYuanZhi();
                Object other$yuanZhi = other.getYuanZhi();
                if (this$yuanZhi == null) {
                    if (other$yuanZhi != null) {
                        return false;
                    }
                } else if (!this$yuanZhi.equals(other$yuanZhi)) {
                    return false;
                }

                label62: {
                    Object this$yuanZhiMC = this.getYuanZhiMC();
                    Object other$yuanZhiMC = other.getYuanZhiMC();
                    if (this$yuanZhiMC == null) {
                        if (other$yuanZhiMC == null) {
                            break label62;
                        }
                    } else if (this$yuanZhiMC.equals(other$yuanZhiMC)) {
                        break label62;
                    }

                    return false;
                }

                label55: {
                    Object this$muBiaoZhi = this.getMuBiaoZhi();
                    Object other$muBiaoZhi = other.getMuBiaoZhi();
                    if (this$muBiaoZhi == null) {
                        if (other$muBiaoZhi == null) {
                            break label55;
                        }
                    } else if (this$muBiaoZhi.equals(other$muBiaoZhi)) {
                        break label55;
                    }

                    return false;
                }

                Object this$muBiaoZhiMC = this.getMuBiaoZhiMC();
                Object other$muBiaoZhiMC = other.getMuBiaoZhiMC();
                if (this$muBiaoZhiMC == null) {
                    if (other$muBiaoZhiMC != null) {
                        return false;
                    }
                } else if (!this$muBiaoZhiMC.equals(other$muBiaoZhiMC)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ZhiYuYSDMDto;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $yuanBMXTBSF = this.getYuanBMXTBSF();
        result = result * 59 + ($yuanBMXTBSF == null ? 43 : $yuanBMXTBSF.hashCode());
        Object $muBiaoBMXTBSF = this.getMuBiaoBMXTBSF();
        result = result * 59 + ($muBiaoBMXTBSF == null ? 43 : $muBiaoBMXTBSF.hashCode());
        Object $yuanZhi = this.getYuanZhi();
        result = result * 59 + ($yuanZhi == null ? 43 : $yuanZhi.hashCode());
        Object $yuanZhiMC = this.getYuanZhiMC();
        result = result * 59 + ($yuanZhiMC == null ? 43 : $yuanZhiMC.hashCode());
        Object $muBiaoZhi = this.getMuBiaoZhi();
        result = result * 59 + ($muBiaoZhi == null ? 43 : $muBiaoZhi.hashCode());
        Object $muBiaoZhiMC = this.getMuBiaoZhiMC();
        result = result * 59 + ($muBiaoZhiMC == null ? 43 : $muBiaoZhiMC.hashCode());
        return result;
    }

    public String toString() {
        return "ZhiYuYSDMDto(yuanBMXTBSF=" + this.getYuanBMXTBSF() + ", muBiaoBMXTBSF=" + this.getMuBiaoBMXTBSF() + ", yuanZhi=" + this.getYuanZhi() + ", yuanZhiMC=" + this.getYuanZhiMC() + ", muBiaoZhi=" + this.getMuBiaoZhi() + ", muBiaoZhiMC=" + this.getMuBiaoZhiMC() + ")";
    }
}
